package com.zjt.entity.resource;

import com.zjt.entity.BaseEntity;
import com.zjt.entity.IdEntity;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: xueyanbeijing
 * Date: 12-8-24
 * Time: AM6:13
 * 举报资源表  主要是图片连接地址库
 * To change this template use File | Settings | File Templates.
 */
@Entity
//表名与类名不相同时重新定义表名.
@Table(name="s_report_resource")
public class ReportResource extends BaseEntity {
    private long reportId;
    private String path;
    private String urlPath;
    public long getReportId() {
        return reportId;
    }

    public void setReportId(long reportId) {
        this.reportId = reportId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getUrlPath() {
        return urlPath;
    }

    public void setUrlPath(String urlPath) {
        this.urlPath = urlPath;
    }

    @Override
    public String toString() {
        return "ReportResource{" +
                "reportId=" + reportId +
                ", path='" + path + '\'' +
                ", urlPath='" + urlPath + '\'' +
                '}';
    }
}
